<?php
	$options = array('Add', 'Edit', 'Delete');
	echo '<br>' . $this->formMultiCheckbox( 'skills', array(0,1), null, $options, ' ');
	echo '<br>' . '<hr>';
	
	echo '<br>' . $this->formTextarea( 'content', 'this is a test',array('cols'=>80,'rows'=>8));
	echo '<br>' . '<hr>';
		
	$options = array('member'=>'Member group','manager'=>'Manager group','Administrator'=>'Administrator group');
	echo '<br>' . $this->formSelect('group', array('manager','member'), array('size'=>10,'multiple'=>'select-multiple'),$options) ;
	echo '<br>' . '<hr>';
	
	$options = array('member','manager','Administrator');
	$options = array('member'=>'Member group','manager'=>'Manager group','Administrator'=>'Administrator group');
	echo '<br>' . $this->formRadio('group', 'manager', null,$options,' ') ;
	echo '<br>' . '<hr>';
	
	echo '<br>'. $this->formText('code','This is a test', array('style'=>'width: 300px;'));
	echo '<br>' . '<hr>';
	
	echo '<br>'. $this->formHidden('security','sadsadhjashd');
	
	$attribs = array('style'=>'border: solid 1px #ccc');
	echo '<br>' . $this->formFile('upload',$attribs);
	echo '<br>' . '<hr>';
	
	$errors = array('username'=>'Username khong de rong','password'=>'Password khong duoc de rong');
	$options = array('class'=>'red-errors','id'=>'red-errors');
	echo '<br>' . $this->formErrors($errors,$options);
	echo '<br>' . '<hr>';
	
	$checkedOptions = array('Admin','Member');
	echo '<br>' . $this->formCheckbox('active','Admin',null,$checkedOptions) . ' Active';
	echo '<br>' . '<hr>';
	
	$attribs = array('class'=>'input',
					'onClick'=>'sendTo();',
					'style'=>'color: red; background: white;');
	echo '<br>' . $this->formButton('login','Member login',$attribs);
	echo '<br>' . '<hr>';
	
	$arr = array('id'=>1111,'module'=>'shop','controller'=>'helper1');
	echo '<br>' . $this->url($arr);	

	echo '<br>' . $this->serverUrl();